# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=firetools
pkgver=0.9.62
pkgrel=0
pkgdesc="Firejail sandbox launcher integrated with the system tray"
url="https://l3net.wordpress.com/projects/firejail/#firetools"
arch="all"
license="GPL-2.0"
depends="firejail xterm qt5-qtsvg mesa-dri-swrast"
makedepends="qt5-qtbase-dev qt5-qtsvg-dev"
options="!check"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/netblue30/firetools/archive/$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--with-qmake=/usr/lib/qt5/bin/qmake
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f147ddf77c4ad59a3e470bc3c1a51ba26d82aaf4ab98aed3263d36846eb0a293b20183ccec1ea76e1fd8c13b5db7e2ae28e6b8f39d5be7e219735c6615e3c85f  firetools-0.9.62.tar.gz"
